//
//  TeamInfoVM.h
//  TeamOfc
//
//  Created by shiqing guo on 2018/6/11.
//

#import "BaseViewModel.h"

@interface TeamInfoVM : BaseViewModel

// 获取团队信息接口
- (void)teamGetTeamInfoWithTeamId:(NSString *)teamId;

// 创建团队接口
- (void)teamPostCreateTeamWithTeamName:(NSString *)teamName;

// 加入团队的邀请链接
- (void)teamGetTeamApplyCodeWithTeamId:(NSString *)teamId;

// 申请加入团队接口
- (void)teamPostJoinTeamWithTeamToken:(NSString *)teamToken andReason:(NSString *)reason;

// 获取团队信息
- (void)teamChildMembersAndTeamsWithId:(NSString *)teamId;

// 获取团队树
- (void)teamTreeWithTeamId:(NSString *)teamId;

// 获取团队中的个人信息
- (void)teamGetTeamsPersonInfoWithId:(NSString *)userId;

// 团队或个人搜索
- (void)teamGetSearchResultWithKeyWords:(NSString *)keyWords andType:(NSString *)type andTeamId:(NSString *)teamId andOrderTime:(NSString *)orderTime;

// 获取团队申请列表
- (void)teamGetTeamApplyListWithType:(int)getType andApplyId:(NSString *)applyId;

// 团队申请审核
- (void)teamApplyReviewWithMemberId:(NSString *)memberId andAgreement:(NSString *)agreement;

// 发送确认移除团队成员的短信验证码
- (void)teamSendRemoveMemberCode;

// 移除团队成员
- (void)teamRemoveMemberWithMemberId:(NSString *)memberId andVerifyCode:(NSString *)verifyCode;

/****** 获取实况天气 ******/
- (void)getWeatherInfoWithCity:(NSString *)city;

// 分享课程报名
- (void)recruitShareCourseRegistrationInfo;

// 申请加入团队接口
- (void)teamPostJoinTeamWithTeamToken:(NSString *)teamToken andReason:(NSString *)reason;

@end
